package com.design.alex.state;

/**
 * @ClassName : StartState
 * @Description : todo
 * @Author : Alex
 * @Date: 2020-02-19 17:48
 */
public class StartState implements State {
    @Override
    public void doAction(Context context) {
        System.out.println("Player is start state.");
        context.setState(this);
    }

    @Override
    public String toString() {
        return "Start state.";
    }
}
